package com.smart.home.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel("场景信息")
public class Scenes {

    @ApiModelProperty("场景ID")
    private Long id;

    @ApiModelProperty("所属家庭ID")
    private Long homeId;

    @ApiModelProperty("场景名称")
    private String name;

    @ApiModelProperty("描述信息")
    private String description;

    @ApiModelProperty("触发类型：MANUAL, SCHEDULE, DEVICE_EVENT")
    private String triggerType;

    @ApiModelProperty("触发器配置（JSON格式）")
    private String triggerConfig;

    @ApiModelProperty("是否启用")
    private Boolean enabled;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdAt;

    @ApiModelProperty("更新时间")
    private LocalDateTime updatedAt;
}
